using System;
using System.Collections.Generic;
using System.Text;

namespace Microsoft.Samples.BizTalk.Adapter.Tcp
{
    /// <summary>
    ///     This interface represents a work item for the dispatcher.
    /// </summary>
    /// <author>
    ///     Paul Brown
    /// </author>
    public interface IWorkItem
    {
        #region Properties

        /// <summary>
        ///     Represents the status of the work item.
        /// </summary>
        WorkItemStatusTypes Status
        {
            get;
            set;
        }

        #endregion

        #region Methods

        /// <summary>
        ///     This method saves the content of the work item to the folder location specified by the adapter.
        /// </summary>
        void Save();

        #endregion
    }
}
